package com.pzh.guli.service.edu.feign.fallback;

import com.pzh.guli.service.base.result.Result;
import com.pzh.guli.service.edu.feign.VodService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Slf4j
public class VodServiceFallBackService implements VodService {
    @Override
    public Result removeOneVideoById(String id) {
        log.info("服务熔断发生-------------");
        return Result.error();
    }
    @Override
    public Result removeMoreVideoByIds(List<String> ids) {
        log.info("服务熔断发生-------------");
        return Result.error();
    }
}
